<include file="__THEME__/header" />
<include file="__THEME__/page_top" />
<div class="w_970 ov m_b40">
	<div class="fl w_720">
		<h2 class="t_26 c_333 p_t25 bold_n">
			<a href="#" class="c_009">帐户</a>/个人资料
		</h2>
		<h3 class="t_14 p_b10 bold_n c_666">编辑您的姓名，头像等。</h3>
		<include file="_tabs" />
		 <form id="ajax_user_form" name="ajax_user_form" action="{:U('public/Account/doSavePrivacy')}" method="post">
	        <div class="space_tz">
	        <p class="p_b10">谁可以评论我</p>
	        <ul class="m_b40">
	            <li><input name="comment_my" <if condition=" 0 eq $user_privacy['comment_my'] ">checked</if> type="radio" value="0" class="m_r_20" /><label>所有人</label></li>
	            <li><input name="comment_my" <if condition=" 1 eq $user_privacy['comment_my'] ">checked</if> type="radio" value="1" class="m_r_20" /><label>只是专业用户</label></li>
	            <li><input name="comment_my" <if condition=" 2 eq $user_privacy['comment_my'] ">checked</if> type="radio" value="2" class="m_r_20" /><label>关注的人</label></li>
	        </ul>
	        <p class="p_b10">谁可以预约</p>
			<ul class="m_b40">
	            <li><input name="appointment_my" <if condition=" 0 eq $user_privacy['appointment_my'] ">checked</if> type="radio" value="0" class="m_r_20"/><label>所有人</label></li>
	            <li><input name="appointment_my" <if condition=" 1 eq $user_privacy['appointment_my'] ">checked</if> type="radio" value="1" class="m_r_20" /><label>只是专业用户</label></li>
	            <li><input name="appointment_my" <if condition=" 2 eq $user_privacy['appointment_my'] ">checked</if> type="radio" value="2" class="m_r_20" /><label>关注的人</label></li>
	        </ul>
	        <p class="p_b10">
	        	<a class="tc butas bor di b_fff w_255 c_f06"
	        		href="javascript:;" onclick="$('#ajax_user_form').submit();">设置</a></p>
	       </div> 
		</form>
	</div>
	<div class="w_220 fr p_t25">
		<div class="yj b_fff p_q10 artis_yc_top">
			<p class="t_14 tc c_666">
				获取<i class="yj b_f83 c_fff text_i t_12">PRO</i>版 人民币：150/年
			</p>
			<p class="tc c_999">产品搜索更多，免费试用。</p>
		</div>
	</div>
</div>
<script>
$(document).ready(function() { 
    $('#ajax_user_form').submit(function(){
        $(this).ajaxSubmit({
            beforeSubmit:  function(){
            },
            success: function(json){
            	if( json.status == 1 ){
            		ui.success(json.info);
            	}else if(json.status == 2){
            		
            	}else{
            		ui.error(json.info);
            	}
            },
            dataType: 'json'
        }); 
        return false; 
    });
})
</script>
<include file="__THEME__/footer" />
</body>
</html>